package service;

import entity.Firend;
import entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FirendService{

    //模糊姓名查询 好友列表
    List<User> getUserList(int uid,String uname,
                           int start,
                          int pageSize);
    //查个数
    int getCount(String name);
    int getCounta(int uname);
    //用户列表
    List<User> getUserLists(String name,int start,
                            int pageSize,List<Integer> li);
    //修改密码
    int getUpdate(User user);

    //查id
    User getUserId(Integer uid);

    //删除用户信息
    int delUser(Integer uid);
    public List<Integer> z_selectfriend(int id);
    public int tianyou(int i,int id);
    public int shanyou(int id);
}
